<template>
  <div>
    <div class="topbar d-flex bg-black py-2 px-4 ai-center">
      <img src="../assets/logo.png" alt="" width="30" height="30" />
      <div class="flex-1 ml-3">
        <p class="m-0 text-white">王者荣耀</p>
        <p class="m-0 text-gray-1 fs-xxs">团队成就更多</p>
      </div>
      <button class="btn bg-primary fs-sm text-black">立即下载</button>
    </div>
    <div class="nav nav-inverse jc-around pt-3 pb-2 bg-primary text-white">
      <div class="nav-item active">
        <router-link to="" tag="div" class="">首页</router-link>
      </div>
      <div class="nav-item">
        <router-link to="" tag="div" class="">攻略中心</router-link>
      </div>
      <div class="nav-item">
        <router-link to="" tag="div" class="">赛事中心</router-link>
      </div>
    </div>

    <router-view></router-view>
  </div>
</template>

<script>
export default {
  data() {
    return {}
  },
  methods: {}
}
</script>

<style lang="scss">
.topbar {
  position: sticky;
  top: 0;
  z-index: 999;
}
</style>
